public class Main
extends javax.swing.JApplet
implements java.awt.event.ActionListener
javax.swing.JApplet.AccessibleJApplet
java.applet.Applet.AccessibleApplet
Modifier and Type | Field and Description |
---|---|
static javax.swing.JMenuItem |
aboutMI |
static javax.swing.JMenuItem |
addCameraCalibrationSettings |
static javax.swing.JMenuItem |
addDirectoriesMI |
static javax.swing.JMenuItem |
addFilesMI |
static javax.swing.JTextField |
addItemTextField |
static javax.swing.JLabel |
associateFilesFromTextFileValidationLabel |
static javax.swing.JMenuItem |
associateFilesMI |
static javax.swing.JProgressBar |
associateFilesProgressBar |
static javax.swing.JLabel |
associateFilesValidationLabel |
static javax.swing.JFrame |
associateFilesWindow |
static java.util.ArrayList<java.lang.String> |
basicMetadataSchema |
static javax.swing.JMenuItem |
batchModifyMI |
static javax.swing.JFrame |
batchModifyWindow |
static javax.swing.text.SimpleAttributeSet |
boldAttributes |
static BooleanTableModel |
booleanTableModel |
static javax.swing.JMenuItem |
calculateTitles |
static java.util.ArrayList<java.lang.String> |
cameraCalibrationSettings |
static java.util.ArrayList<java.lang.String> |
cameraCalibrationValues |
static javax.swing.JTextPane |
console |
static javax.swing.text.StyledDocument |
consoleDocument |
static javax.swing.JTextField |
coverageSpatialCountry |
static javax.swing.JTextField |
coverageSpatialSitename |
static javax.swing.JTextField |
coverageSpatialStructure |
static java.lang.String |
currentSort |
static java.lang.Object[][] |
data |
static java.lang.String |
datasetDirectory |
static javax.swing.DefaultComboBoxModel<java.lang.String> |
defaultComboBoxModel |
static javax.swing.text.SimpleAttributeSet |
errorAttributes |
static javax.swing.JProgressBar |
exportMetadataProgressBar |
static javax.swing.JLabel |
exportMetadataValidationLabel |
static javax.swing.JFrame |
exportMetadataWindow |
static javax.swing.JMenuItem |
exportMI |
static javax.swing.JMenu |
exportSubMenu |
static javax.swing.JComboBox<java.lang.String> |
fieldComboBox |
static int |
fieldComboBoxSelectedIndex |
static java.lang.String[] |
fieldLabels |
static java.util.ArrayList<java.lang.String> |
fieldLines |
static java.net.URL |
fieldNamesURL |
static int |
fileIndex |
static java.util.ArrayList<java.io.File> |
filesInDataset |
(package private) GUIBuilder |
guiBuilder |
static java.util.ArrayList<java.lang.String[]> |
idAndFileTypeList |
static javax.swing.JTextField |
identifierPrefix |
static javax.swing.JRadioButton |
identityButton |
static java.lang.String |
idPrefix |
static ImageLoader |
imageLoader |
static ImageScalingPanel |
imagePanel |
static javax.swing.JScrollPane |
imageScrollPane |
static javax.swing.JMenuItem |
importCoordinates |
static javax.swing.JMenuItem |
importSubMenu |
static int |
index |
static int |
indexOfCreatorInFieldComboBox |
static javax.swing.text.SimpleAttributeSet |
infoAttributes |
(package private) boolean |
isSaved |
static javax.swing.JComboBox<java.lang.String> |
itemComboBox |
static int |
itemComboBoxSelectedIndex |
static java.util.ArrayList<java.lang.String[]> |
items |
static javax.swing.JPanel |
JProgressBarPanel |
static javax.swing.JPanel |
JProgressBarPanelAssociateFiles |
static javax.swing.JPanel |
JProgressBarPanelExportMetadata |
(package private) java.lang.String |
lastSaved |
(package private) java.lang.String |
lastSavedFilePath |
static int |
length_constant |
static java.util.ArrayList<java.lang.String> |
listOfFileCorrespondingPIDSInDataset |
static java.util.ArrayList<java.lang.String> |
listOfFilePathsInDataset |
static javax.swing.JMenuItem |
loadMetadataMI |
static javax.swing.JProgressBar |
loadMetadataProgressBar |
static java.util.ArrayList<java.util.ArrayList<java.lang.String>> |
metadata |
static java.util.ArrayList<java.util.ArrayList<java.lang.String>> |
metadataFields |
static javax.swing.JPanel |
metadataPanel |
static javax.swing.JScrollPane |
metadataScrollPane |
static javax.swing.JMenuItem |
openDirectoriesMI |
static javax.swing.JMenuItem |
openFilesMI |
static javax.swing.JFrame |
popupImportProgressWindow |
static javax.swing.JFrame |
popupLoadMetadataProgressWindow |
static javax.swing.JFrame |
popupValidateMetadataProgressWindow |
static java.lang.Object |
previousItemComboBoxValue |
static double |
progressCount |
static javax.swing.JProgressBar |
progressImport |
static javax.swing.JMenuItem |
removeCameraCalibrationSettings |
static javax.swing.JLabel |
saveInformationLabel |
static javax.swing.JMenuItem |
saveMetadata |
static javax.swing.JMenuItem |
saveMetadataAs |
static java.awt.Dimension |
screenDimensions |
private static long |
serialVersionUID |
static javax.swing.JTextField |
sharedDrivePathOnServer |
static javax.swing.JTextField |
sourceOfData |
static boolean |
stateChanged |
static javax.swing.JTabbedPane |
tabbedPane |
static javax.swing.JTable |
table |
static javax.swing.JComboBox<java.lang.String> |
tagComboBox |
static java.lang.String[] |
tagSortDataset |
static javax.swing.JTextField |
tagSortText |
(package private) javax.swing.JPanel |
tempPanel |
static int |
totalFilesCount |
static javax.swing.JMenuItem |
transformAlukaMetadata |
static javax.swing.JFrame |
transformAlukaMetadataWindow |
static javax.swing.JProgressBar |
transformMetadataProgressBar |
static javax.swing.JLabel |
transformMetadataValidationLabel |
static javax.swing.JMenuItem |
validateMetadata |
static javax.swing.JProgressBar |
validatemetadataProgressBar |
accessibleContext, rootPane, rootPaneCheckingEnabled
Constructor and Description |
---|
Main() |
Modifier and Type | Method and Description |
---|---|
void |
about()
Menu Item on Action Performed: About Meta-fy
|
void |
actionPerformed(java.awt.event.ActionEvent e)
Action events for button presses
|
void |
addDirectories()
Menu Item on Action Performed: Add Directories, previous data is added to
|
void |
addFiles()
Menu Item on Action Performed: Add Files, previous data is added to
|
void |
addMenuItemActionListeners()
Add Action Listeners to all the menu items
|
void |
associateFiles()
Menu Item on Action Performed: Associate Files
|
void |
batchModify()
Menu Item on Action Performed: Batch Modify
|
void |
calculateTitles()
Menu Item on Action Performed: Calculate Titles
|
void |
exportMetadata()
Menu Item on Action Performed: Export metadata that has been imported or created.
|
void |
importCameraCalibrationSettings()
Menu Item on Action Performed: Import Camera Calibration Settings
|
void |
importCoOrds()
Menu Item on Action Performed: Import Co-ordinate data
|
void |
init()
Init method of Applet
Called when applet loaded into browser
|
void |
loadMetadata()
Menu Item on Action Performed: Load metadata that has been serialized in a textfile.
|
void |
openDirectories()
Menu Item on Action Performed: Open Directories, previous data is replaced
|
void |
openFiles()
Menu Item on Action Performed: Open Files, previous data is replaced
|
void |
removeCameraCalibrationSettings()
Menu Item on Action Performed: Remove Camera Calibration Settings
|
void |
saveMetadata()
Menu Item on Action Performed: Save metadata
|
void |
saveMetadataAs()
Menu Item on Action Performed: Save metadata As.
|
void |
transformAlukaMetadata()
Menu Item on Action Performed: Transform Aluka Metadata
|
void |
validateMetadata()
Menu Item on Action Performed: Validate Metadata
|
addImpl, createRootPane, getAccessibleContext, getContentPane, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isRootPaneCheckingEnabled, paramString, remove, repaint, setContentPane, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
destroy, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, isValidateRoot, newAudioClip, play, play, resize, resize, setStub, showStatus, start, stop
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, revalidate, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
private static final long serialVersionUID
public static boolean stateChanged
GUIBuilder guiBuilder
public static int totalFilesCount
public static double progressCount
public static javax.swing.JProgressBar progressImport
public static javax.swing.JProgressBar validatemetadataProgressBar
public static javax.swing.JProgressBar transformMetadataProgressBar
public static javax.swing.JProgressBar associateFilesProgressBar
public static javax.swing.JProgressBar loadMetadataProgressBar
public static javax.swing.JProgressBar exportMetadataProgressBar
public static javax.swing.JPanel JProgressBarPanelAssociateFiles
public static javax.swing.JPanel JProgressBarPanel
public static javax.swing.JPanel JProgressBarPanelExportMetadata
public static javax.swing.JFrame batchModifyWindow
public static javax.swing.JFrame exportMetadataWindow
public static javax.swing.JFrame associateFilesWindow
public static javax.swing.JFrame popupValidateMetadataProgressWindow
public static javax.swing.JFrame popupImportProgressWindow
public static javax.swing.JFrame popupLoadMetadataProgressWindow
public static javax.swing.JFrame transformAlukaMetadataWindow
public static javax.swing.JLabel associateFilesValidationLabel
public static javax.swing.JLabel exportMetadataValidationLabel
public static javax.swing.JLabel associateFilesFromTextFileValidationLabel
public static javax.swing.JLabel transformMetadataValidationLabel
public static javax.swing.JLabel saveInformationLabel
public static javax.swing.JMenuItem batchModifyMI
public static javax.swing.JMenuItem loadMetadataMI
public static javax.swing.JMenuItem openFilesMI
public static javax.swing.JMenuItem addDirectoriesMI
public static javax.swing.JMenuItem addFilesMI
public static javax.swing.JMenuItem openDirectoriesMI
public static javax.swing.JMenuItem importSubMenu
public static javax.swing.JMenuItem importCoordinates
public static javax.swing.JMenuItem addCameraCalibrationSettings
public static javax.swing.JMenuItem exportMI
public static javax.swing.JMenuItem transformAlukaMetadata
public static javax.swing.JMenuItem calculateTitles
public static javax.swing.JMenuItem associateFilesMI
public static javax.swing.JMenuItem validateMetadata
public static javax.swing.JMenuItem saveMetadata
public static javax.swing.JMenuItem saveMetadataAs
public static javax.swing.JMenuItem aboutMI
public static javax.swing.JMenuItem removeCameraCalibrationSettings
public static javax.swing.JMenu exportSubMenu
public static java.util.ArrayList<java.lang.String> cameraCalibrationSettings
public static java.util.ArrayList<java.lang.String> cameraCalibrationValues
public static java.awt.Dimension screenDimensions
public static javax.swing.JTextPane console
public static javax.swing.text.StyledDocument consoleDocument
public static javax.swing.text.SimpleAttributeSet infoAttributes
public static javax.swing.text.SimpleAttributeSet errorAttributes
public static javax.swing.text.SimpleAttributeSet boldAttributes
public static java.lang.String datasetDirectory
public static java.util.ArrayList<java.io.File> filesInDataset
public static java.util.ArrayList<java.lang.String> listOfFilePathsInDataset
public static java.util.ArrayList<java.lang.String> listOfFileCorrespondingPIDSInDataset
public static java.util.ArrayList<java.lang.String[]> idAndFileTypeList
public static java.util.ArrayList<java.util.ArrayList<java.lang.String>> metadataFields
public static java.util.ArrayList<java.util.ArrayList<java.lang.String>> metadata
public static javax.swing.JTable table
public static java.lang.Object[][] data
public static BooleanTableModel booleanTableModel
public static javax.swing.JScrollPane imageScrollPane
public static ImageScalingPanel imagePanel
public static ImageLoader imageLoader
public static javax.swing.DefaultComboBoxModel<java.lang.String> defaultComboBoxModel
public static javax.swing.JComboBox<java.lang.String> fieldComboBox
public static javax.swing.JComboBox<java.lang.String> itemComboBox
public static java.util.ArrayList<java.lang.String> fieldLines
public static java.util.ArrayList<java.lang.String[]> items
public static java.lang.String[] fieldLabels
public static java.lang.Object previousItemComboBoxValue
public static int itemComboBoxSelectedIndex
public static int fieldComboBoxSelectedIndex
public static javax.swing.JTextField addItemTextField
public static int indexOfCreatorInFieldComboBox
public static java.net.URL fieldNamesURL
public static javax.swing.JTextField identifierPrefix
public static java.lang.String idPrefix
public static javax.swing.JTextField sourceOfData
public static javax.swing.JTextField coverageSpatialCountry
public static javax.swing.JTextField coverageSpatialSitename
public static javax.swing.JTextField coverageSpatialStructure
public static javax.swing.JTextField sharedDrivePathOnServer
public static java.util.ArrayList<java.lang.String> basicMetadataSchema
public static javax.swing.JScrollPane metadataScrollPane
public static javax.swing.JPanel metadataPanel
javax.swing.JPanel tempPanel
public static int fileIndex
public static int index
public static java.lang.String[] tagSortDataset
public static javax.swing.JTextField tagSortText
public static javax.swing.JComboBox<java.lang.String> tagComboBox
public static java.lang.String currentSort
public static javax.swing.JRadioButton identityButton
public static int length_constant
boolean isSaved
java.lang.String lastSaved
java.lang.String lastSavedFilePath
public static javax.swing.JTabbedPane tabbedPane
public void init()
init
in class java.applet.Applet
public void addMenuItemActionListeners()
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
e
- ActionEvent used to determine button and radio button pressespublic void saveMetadata()
public void saveMetadataAs()
public void exportMetadata()
public void loadMetadata()
public void openFiles()
public void openDirectories()
public void addDirectories()
public void addFiles()
public void importCoOrds()
public void importCameraCalibrationSettings()
public void removeCameraCalibrationSettings()
public void transformAlukaMetadata()
public void associateFiles()
public void calculateTitles()
public void validateMetadata()
public void batchModify()
public void about()